package com.msk.sys.utils;

import com.msk.common.utils.spring.SpringUtils;
import com.msk.wlhy.domain.HtCompany;
import com.msk.wlhy.mapper.HtCompanyDao;

public class CustomerUtils {

	
	private static HtCompanyDao customerDao = SpringUtils.getBean(HtCompanyDao.class);
	
	
	/**
	 * 根据ID获取用户
	 * @param id
	 * @return 取不到返回null
	 */
	public static HtCompany get(String id) {
		HtCompany customer = customerDao.get(id);
		return customer;
	}
}
